<?php

namespace App\Http\Model;

use Illuminate\Database\Eloquent\Model;

class QuestionNaireOption extends Model
{
    //
    protected $table = 'htf_questionnaire_option';
    public $timestamps = false;
    protected $guarded=[];

    /**
     * 选项所属的问题
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     * create by wenQing
     */
    public function question()
    {
        return $this->belongsTo('App\Http\Model\QuestionNaire','id');
    }
}
